package com.hsmpay.mobile.service.device;

import com.hsmpay.common.service.BaseService;
import com.hsmpay.mobile.pojo.device.DeviceKey;

/**
 * Created by zhy on 16/1/6.
 */
public interface DeviceKeyService<Entity extends DeviceKey, Query extends Object> extends BaseService<Entity,Query> {
    /**
     * 根据设备id获取设备秘钥对象
     * @return
     * @throws Exception
     */
    public DeviceKey getDeviceKeyByDeviceId(String deviceId) throws Exception;
}
